package day0327;

public class Test12R {
    public static void main(String[] args) {
        print(5);
    }

    public static void print(int num){
        if(num<=0){
            return;
        }
        System.out.println(num);//5 4 3 2 1
        print(num-1);
    }

    public static void print(){
        for(int num=5;     ;num--){
            System.out.println(num);
        }
    }


}
